package com.csjbot.coshandler.client_req.robot_state;

import com.csjbot.coshandler.client_req.base.BaseClientReq;
import com.csjbot.coshandler.global.REQConstants;

/**
 * Created by jingwc on 2017/10/25.
 */

public class RobotStateReqImpl extends BaseClientReq implements IRobotStateReq {
    @Override
    public void shutdown() {
        sendReq(getJson(REQConstants.ROBOT_SHUTDOWN_REQ));
    }

    @Override
    public void reboot() {
        sendReq(getJson(REQConstants.ROBOT_REBOOT_REQ));
    }

    @Override
    public void getBattery() {
        sendReq(getJson(REQConstants.ROBOT_GET_BATTERY_REQ));
    }
}
